<div class="gallery">
    {section name=gal loop=$items}
    {strip}
    <div class="galleryItem">
        <h2>
        {if $items[gal].link != '' }
        <a href="{$items[gal].link}" title="{$items[gal].linkTitle}">
        {/if}
        {$items[gal].name}
        {if $items[gal].link != '' }
        </a>
        {/if}
        </h2>
        {if $items[gal].img != ''}
        <img src="{$items[gal].img}" alt="{$items[gal].imgAlt}" />
        {/if}
        {section name=itemProps loop=$items[gal].props}
        {strip}
        {$items[gal].props[itemProps]}<br />
        {/strip}
        {/section}
        {if $items[gal].link != '' }
        <a href="{$items[gal].link}" title="{$items[gal].linkTitle}">{$more}</a>
        {/if}
    </div>
    {/strip}
    {/section}
    <div class="clear"></div>
</div>